package com.explment.lens.controller.theme;

import com.explment.lens.entity.SysThemeTemplateFieldEntity;
import com.explment.lens.service.SysThemeTemplateFieldService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 系统主题-模板属性 controller
 */
@RestController
@RequestMapping("/sysThemeTemplateFieldEntity")
public class SysThemeTemplateFieldController {
    @Autowired
    private SysThemeTemplateFieldService sysThemeTemplateFieldEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysThemeTemplateFieldEntityService.getById(id));
    }
}